package com.example.fp.zlz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Blob;

/**
 * 说明: 用户表实体
 * 编写人: 张连壮
 * 编写时间: 2019-12-31
 * 修改时间:
 * 用户相关信息
 * id
 */
@Data
@TableName("user")
public class Admin {
	@TableId(value = "id", type = IdType.AUTO)
	private int id;
	@TableField("username")
	private String username;
	@TableField("password")
	private String password;
	@TableField("token")
	private String token;
	@TableField("pic")
	private byte[] pic;
	@TableField("online")
	private boolean online;
	@TableField("bg")
	private int bg;
}
